package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * @ Description NursingProjectService
 * @ Author zhengsuhang
 * @ Date 2025-05-08  11:04
 */
/*
 * 服务接口：NursingProjectService（护理项目管理服务）
 */
public interface NursingProjectService {
    /**
     * 护理项目分页查询
     * @param nursingProjectDto
     * @return
     */
    PageResponse<NursingProjectVo> pageNursingProjectQuery(NursingProjectDto nursingProjectDto);

    /**
     * 新增护理项目
     * @param nursingProject
     */
    void addNursingProject(NursingProject nursingProject);

    /**
     * 根据id查询护理项目
     * @param id
     * @return
     */
    NursingProjectVo getById(Integer id);

    /**
     * 更新护理项目
     * @param nursingProject
     */
    void updateNursingProject(NursingProject nursingProject);

    /**
     * 启用禁用
     * @param id
     * @param status
     */
    void setSwitchStatus(Long id, Integer status);

    /**
     * 查询所有护理项目
     * @return
     */
    List<NursingProjectVo> findAll();
}
